package demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: \
 * Date: 2024-06-04
 * Time: 16:25
 */



public class testdemo1 {
    class Internal{
        public String name;
        public int age;

        public Internal(String name, int age) {
            this.name = name;
            this.age = age;
            System.out.println("构造方法执行");
        }
        {
            System.out.println("实例代码块执行");
        }
        static {
            System.out.println("静态代码块执行");
        }
    }
}
